import request from "@/utils/request";

// 领养申请
export function fetchList(params) {
  return request({
    url: "/adopts/adopt_applys",
    method: "get",
    params
  });
}

export function exportExcel(params) {
  return request({
    url: "/adopts/apply_export",
    method: "get",
    params,
    responseType: "blob"
  });
}

export function getInfo(params) {
  return request({
    url: "/adopts/apply_detail",
    method: "get",
    params
  });
}
